<h1>Edit Post</h1>
<?php
echo $this->Form->create('Player');
echo $this->Form->input('name');
echo $this->Form->input('birthdate', array(
    'label' => 'Date of birth',
    'dateFormat' => 'DMY',
    'minYear' => date('Y') - 12,
    'maxYear' => date('Y') - 7,));
echo $this->Form->input('id', array('type' => 'hidden'));
echo $this->Form->end('Save Player');
?>